Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: RequestBuilder.submitAsync() throwing an Exception if the Glide request is restarted #4569

Merged
merged 1 commit into from
Jul 14, 2024

Conversation

cbeyls
Copy link
Contributor

@cbeyls cbeyls commented Jul 12, 2024

This is the third attempt to fix RequestBuilder.submitAsync(). For the rationale, see the comments of #4436.

We now clear the continuation reference after resuming it, to make sure that:

  1. It will only be resumed once
  2. It will not leak the coroutine when Glide keeps the Request around.

@connyduck connyduck merged commit 12040b9 into tuskyapp:develop Jul 14, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants